﻿namespace GBlog.Core
{
    public enum Access : int
    {
        None = 0,
        Comment = 1,
        Post = 2,
        File = 4,
        User = 7, // Comment | Post | File
        EditUser = 8,
        EditComment = 16,
        EditPost = 32,
        Moderator = 63, // Comment | Post | File | EditUser | EditComment | EditPost
        ChangeSettings = 64,
        ChangeUserAccess = 128,
        Admin = 255 // Comment | Post | File | EditUser | EditComment | EditPost | ChangeSettings
    }
}